package net.lainiao.mycost.service.impl;

import net.lainiao.mycost.dao.IReportDAO;
import net.lainiao.mycost.service.IReportService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/3/22.
 */
@Service
@Transactional
public class ReportServiceImpl implements IReportService {
    @Autowired
    private IReportDAO dao;
    @Override
    public List<Map> salaryMonthReport() {
        return dao.salaryMonthReport();
    }

    @Override
    public List<Map> expenseMonthReport() {
        return dao.expenseMonthReport();
    }

    @Override
    public List<Map> expenseCostReport() {
        return dao.expenseCostReport();
    }
}
